package com.ruoyi.project.cms.type.service.impl;

import com.ruoyi.project.cms.type.domain.CMSType;
import com.ruoyi.project.cms.type.mapper.CMSTypeMapper;
import com.ruoyi.project.cms.type.service.ICMSTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class CMSTypeServiceImpl implements ICMSTypeService {

    @Autowired
    private CMSTypeMapper cmsTpeMapper;
    // 公告类型数据访问接口
    @Override
    public List<CMSType> selectCMSTypeAll(CMSType cmsType) {
        return cmsTpeMapper.selectCMSTypeList(cmsType);
    }
}
